package tech.senri.iot.socket.model

import io.netty.buffer.Unpooled
import io.swagger.annotations.ApiModelProperty
import tech.senri.iot.socket.service.util.getArray

class AislesCapacityConfirmRequest : RequestMessage()
{

    @ApiModelProperty("是否成功", required = true)
    var success: Boolean = true

    override fun contentData(): ByteArray
    {
        return Unpooled.buffer().writeBoolean(success).getArray()
    }
}
